//
//  UIImage+Js.h
//  JSGategoryLib
//
//  Created by sixarm on 2018/3/30.
//  Copyright © 2018年 sixarm. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^GIFimageBlock)(UIImage *GIFImage);


@interface UIImage (Js)

/**
 *将UIView转成UIImage
 */
+ (UIImage *) getImageFromView:(UIView *)theView ;
/** 颜色转换成图片 */
+ (UIImage *) imageWithColor:(UIColor *)color andSize:(CGSize)aSize;

+ (UIImage *) imageWithColor:(UIColor *)aColor;

+ (UIImage *) imageWithColor:(UIColor *)aColor withFrame:(CGRect)aFrame;

+ (UIImage *) createImageWithColor: (UIColor*) color;



@end
